<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Audio标签</title>
</head>
<body>
<button onclick="playOrPause()">播放/停止</button>
<audio id="audio" src="raw/1.mp3">您的浏览器不支持音频播放</audio>
<script>
    var audio = document.getElementById("audio");
    function playOrPause() {
        if (audio.paused) {
            audio.play();
        } else {
            audio.pause();
        }
    }
</script>
</body>
</html>